package jc18;

public class Student {
    String name;
    int age;

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public void eat(int a){
        System.out.println("吃米饭"+a);
    }
    public void play(){
        System.out.println("玩什么玩");
    }
}
